﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for DTO_Menu
/// </summary>
public class DTO_Menu
{
    private int _ID;

    public int ID
    {
        get { return _ID; }
        set { _ID = value; }
    }
    private string _Name;
    public string Name
    {
        get { return _Name; }
        set { _Name = value; }
    }
    private string _Link;
    public string Link
    {
        get { return _Link; }
        set { _Link = value; }
    }
    private string _Img;

    public string Img
    {
        get { return _Img; }
        set { _Img = value; }
    }
    private int _Order;

    public int Order
    {
        get { return _Order; }
        set { _Order = value; }
    }
    private int _Location;

    public int Location
    {
        get { return _Location; }
        set { _Location = value; }
    }
    private bool _Status;

    public bool Status
    {
        get { return _Status; }
        set { _Status = value; }
    }
    private int _Parent_ID;

    public int Parent_Id
    {
        get { return _Parent_ID ;}
        set { _Parent_ID = value;}
    }
    
	public DTO_Menu()
	{
        _Name = "";
        _Link = "";
        _Img = null;
        _Parent_ID = 0;
        _Order = 0;
        _Location = 1;
        _Status = true;
	}
    public DTO_Menu(string name, string link, int order, int location)
    {
        _Name = name;
        _Link = link;
        _Order = order;
        _Location = location;
    }
      
}